import React from 'react'
import usePosition from '../hook/usePosition'

export default function Cat() {
    let {x,y} = usePosition()
    return (
        <div style={
            {
                width: 100,
                height: 100,
                background: 'pink',
                position: 'absolute',
                left: x,
                top: y
            }
        }>Cat</div>
    )
}
